	.data
req:	.asciiz	"Enter a number: "
resp:	.asciiz	"The entered number's factorial is: "
num:	.word
result:	.word	1

	.text
__start:puts	req
	get	num
for:	beqz	num, endfor
	mul	result, result, num
	sub	num, num, 1
	b	for
endfor:	puts	resp
	put	result
	done
